home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / maint105.zip / README.TXT < prev    next >
Text File  |  1994-04-06  |  4KB  |  99 lines

  1. This is a small utility to modify any kind of INI-Files.
  2.  
  3. It is DOS-based, so you can easily do the modifications from your
  4. batchfile or your network login script.
  5.  
  6. As example, you can add the TimerCriticalSection=10000 for all users
  7. in the SYSTEM.INI file, just by doing the following:
  8.  
  9. Create a file named SYSTEM.CMD which contains:
  10. +[386enh]TimerCriticalSection=10000
  11.  
  12. And put the following command in you (system) login script:
  13. maintini.exe N:\WINDOWS\SYSTEM.INI SYSTEM.CMD
  14.  
  15. After the new login, all your users have the new parameter set correctly
  16. for the new WINUP9 from Novell.
  17.  
  18. A backupfile with the extension .BAK is made before modifying the file.
  19. Normaly all section, keys and values are NOT case sensitive.
  20. However _ and * give the possibility to match only if the case matches too.
  21.  
  22. MAINTINI can process INI-Files of any size, even larger than 64kBytes.
  23. Just the CMD File should not have to much commands, because a dynamic list
  24. with all commands is created. (The actual upper limit are 698 commands,
  25. if you need more, then send me a mail or just splitt it in two cmd-files.
  26. Anyway, to process a INI-file with 700 commands to apply is just slow.)
  27.  
  28. Commands of Maintini:
  29.  
  30. -[section]                The corresponding section is deleted
  31. -[section]Key             The Key in section will be deleted
  32. -[section]Key=Value       The Key is only deleted if the Value matches exactly
  33.                           This is used to delete device=... lines in system.ini
  34. _[section]Key=Value       Same as - but Value is case sensitive
  35.                           Normaly not used.
  36.  
  37. #[section]                The corresponding section is commented
  38. #[section]Key             The Key in section will be commented
  39. #[section]Key=Value       The Key is only commented if the Value matches exactly
  40.                           This is used to comment device=... lines in system.ini
  41.  
  42. +[Section]Key=            Adds Key in Section.
  43. +[Section]Key=Value       Adds Key and Value to section.
  44. &[Section]Key=Value       This Key/Value is always inserted, even if already
  45.                           a key exists, but with a different value. Used to
  46.                           insert device=... lines in System.ini
  47. *[Section]Key=Value       Same as &, but the value is casesensitive
  48.                           Normaly not used.
  49.  
  50. >[Section]Key= Value      Adds Value to an existing value. The old Value is preserved
  51.                           and the Value is added added at the end of the line.
  52.                           
  53.                           [Section]
  54.                           Key=Value0
  55.  
  56.                           >[Section]Key= Value1
  57.  
  58.                           Gives
  59.                           [Section]
  60.                           Key=Value0 Value1
  61.                           
  62.                           It is very important, that you have a space or a period sign
  63.                           before the Value, this is to ensure that the , sign is placed
  64.                           at the right place (or even ignored if this is the first value).
  65.  
  66. <[Section]Key=Value       Deletes Value from the Key/Value line. Leading and trailing 
  67.                           period-signs are cut off.
  68.  
  69.  
  70. You should not use more than one < or > command for each Section/Key !!!!
  71. This does not behave correctly. If this is a limitation for you, 
  72. then you can tell me why you want another version who can do this.
  73. I will then implement it, if I find the time to do it.
  74.  
  75.  
  76. MAINTINI is emailware, which means if you find this program usefull,
  77. you should send me a email. (Or a nice postcard if you don't have
  78. acess to a email system)
  79.  
  80. If you send me a message, then I will inform you of all changes and
  81. new versions of this utility.
  82.  
  83.  
  84. My email adress:
  85.  
  86. Compuserve   :  100034,3536 Andre Schild
  87. Internet     :  100034.3536@compuserve.com
  88. AT&T Mail    :  mhs!csmail!100034.3536
  89. X400         :  /c=US/ad=compuserve/pd=csmail/d.id=100034.3536
  90. MCI          :  TO: Andre Schild   
  91.                 EMS: COMPUSERVE/ MCI ID:281-6320
  92.                 MBX: 100034,3536
  93. MHS          :  MAIL@CSERVE {100034,3536}
  94.  
  95. Postal adress:  Andre Schild
  96.                 Pfeidstrasse 8
  97.                 CH-2555 Bruegg b. Biel
  98.                 Switzerland
  99.